<template>
  <div class="el-container is-vertical"></div>
  <div class="el-container"></div>
</template>
<style lang="scss">
@import '../styles/mixin';
@include b(container) {
  display: flex;
  flex-direction: row;
  flex: 1;
  flex-basis: auto;
  box-sizing: border-box;
  min-width: 0;
  @include when(vertical) {
    flex-direction: column;
  }
}

// 生成会是这样的
// .el-container {
//   display: flex;
//   flex-direction: row;
//   flex: 1;
//   flex-basis: auto;
//   box-sizing: border-box;
//   min-width: 0;
// }
// .el-container.is-vertical {
//   flex-direction: column;
// }
</style>
